using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ThuySan.Bussiness
{
	[Serializable]
	[Table("[dbo].[Images]")]
	public partial class Images
	{

		#region Properties

		[Key]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		[Required]
		[Column("Id")]
		public System.Int32 Id { get; set; }

        [Column("ProductId")]
        public System.Int32 ProductId { get; set; }
		
		[Column("ImageName")]
        public System.String ImageName { get; set; }

		

		

		#endregion

		#region Navigation
		
		public virtual ICollection<Product> Products { get; set; }

		#endregion

	}
}
